﻿using RS.BaseModel.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseAuthRole.DTO.User
{
    public class UUIUserAuthCode: BaseEntity
    {
        public string Id { get; set; }

        public string Uid { get; set; }

        public string UserUniqueId { get; set; }
        public string AppId { get; set; }

        public string AuthType { get; set; }

        public DateTime AddTime { get; set; }

        public DateTime ExpirTime { get; set; }

        public UUIUserAuthCode()
        {
            Id = "ac_"+Guid.NewGuid().ToString("N");

          

            ExpirTime = CreateTime.AddMinutes(5);
        }
    }
}
